package top.itbook.txt;

import java.io.InputStream;

public class ClassTestVersion {
    public static InputStream get() {
        ClassTestVersion test = new ClassTestVersion();
        return test.getTxt();
    }

    public InputStream getTxt(){
        return this.getClass().getResourceAsStream("version.txt"); // 获取文件输入流并返回
    }
}
